Translates a text string from one language to another.
The request body is of type Translate.
Request Body Parameters
Name | Description | Data Type |
appId | | xml:string |
text | | xml:string |
from | | xml:string |
to | | xml:string |
contentType | | xml:string |
category | | xml:string |
reservedFlags | | xml:string |

Overview
 |
 |
Sequence
 |
appId optional xs:string
A string containing "Bearer" + " " + access token.
|
 |
text optional xs:string
A string representing the text to split into sentences. The size of the text must not exceed 10000 characters.
|
 |
from optional xs:string
A string containing the language code of the source language. Must be a valid culture name.
|
 |
to optional xs:string
A string containing the language code of the target language. Must be a valid culture name.
|
 |
contentType optional xs:string
The format of the text being translated. The supported formats are "text/plain" and "text/html". Any HTML needs to be well-formed.
|
 |
category optional xs:string
A string containing the category (domain) of the translation. Defaults to "general".
|
| |
The response body is of type TranslateResponse.
Response Body Parameters
Name | Description | Data Type |
TranslateResult | | xml:string |

Overview
 |
 |
Sequence
| |